package cn.iocoder.yudao.module.reading.controller.app.recordings.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 用户录制音频详情响应 VO
 *
 * @author 李晨
 */
@Schema(description = "用户录制音频详情响应 VO")
@Data
public class UserRecordingDetailRespVO {

    @Schema(description = "配音记录ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Long id;

    @Schema(description = "用户ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "123")
    private Long userId;

    @Schema(description = "页面ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "10")
    private Long pageId;

    @Schema(description = "音频URL", requiredMode = Schema.RequiredMode.REQUIRED, example = "https://example.com/user-audio.mp3")
    private String audioUrl;

    @Schema(description = "时长（秒）", requiredMode = Schema.RequiredMode.REQUIRED, example = "150")
    private Integer duration;

    @Schema(description = "评分", example = "85")
    private Integer score;

    @Schema(description = "录制质量", example = "high")
    private String recordingQuality;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    private LocalDateTime createdAt;

}
